package com.cskaoyan.mall.bean.vo;

import com.cskaoyan.mall.bean.User;
import lombok.Data;

import java.util.List;

/**
 * @name zhangguannan
 * @Date 2021-01-09 17:14
 */
@Data
public class
MemberManagementVO<T> {


    private int total;
    private List<T> items;

    public static <T> MemberManagementVO data(List<T> items, int total) {
        MemberManagementVO memberManagementVO = new MemberManagementVO();
        memberManagementVO.setItems(items);
        memberManagementVO.setTotal(total);
        return memberManagementVO;
    }





}
